﻿using Microsoft.EntityFrameworkCore;
using RbacMan.Domain.Entity;

namespace RbacMan.Repository
{
    public class RbacManDbcontext:DbContext
    {
        public RbacManDbcontext(DbContextOptions<RbacManDbcontext> options) : base(options)
        {

        }


        public DbSet<Users> Users { get; set; }
        public DbSet<Role> Role { get; set; }
        public DbSet<RoleUser> RoleUser { get; set; }
        public DbSet<Meun> Meun { get; set; }
        public DbSet<RoleMeun> RoleMeun { get; set; }
    }
}
